package ManHinhChinh;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.wb.swt.SWTResourceManager;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Button;

public class TongHopCongNo {

	protected Shell shlTngHpCng;
	private Text text;
	private Table table;

	

	/**
	 * Open the window.
	 */
	public void open() {
		Display display = Display.getDefault();
		createContents();
		shlTngHpCng.open();
		shlTngHpCng.layout();
		while (!shlTngHpCng.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}

	/**
	 * Create contents of the window.
	 * @wbp.parser.entryPoint
	 */
	protected void createContents() {
		shlTngHpCng = new Shell();
		shlTngHpCng.setSize(634, 266);
		shlTngHpCng.setText("T\u1ED5ng H\u1EE3p C\u00F4ng N\u1EE3");
		
		Label lblNewLabel = new Label(shlTngHpCng, SWT.NONE);
		lblNewLabel.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblNewLabel.setBounds(32, 22, 55, 22);
		lblNewLabel.setText("K\u1EF3");
		
		text = new Text(shlTngHpCng, SWT.BORDER);
		text.setBounds(117, 22, 135, 21);
		
		table = new Table(shlTngHpCng, SWT.BORDER | SWT.FULL_SELECTION);
		table.setBounds(10, 65, 598, 136);
		table.setHeaderVisible(true);
		table.setLinesVisible(true);
		
		TableColumn tblclmnNewColumn = new TableColumn(table, SWT.NONE);
		tblclmnNewColumn.setWidth(100);
		tblclmnNewColumn.setText("Kh\u00E1ch H\u00E0ng");
		
		TableColumn tblclmnNewColumn_1 = new TableColumn(table, SWT.NONE);
		tblclmnNewColumn_1.setWidth(100);
		tblclmnNewColumn_1.setText("D\u01B0 N\u1EE3 \u0110\u1EA7u K\u00EC");
		
		TableColumn tblclmnNewColumn_2 = new TableColumn(table, SWT.CENTER);
		tblclmnNewColumn_2.setWidth(155);
		tblclmnNewColumn_2.setText("S\u1ED1 Ph\u00E1t Sinh N\u1EE3 Trong K\u00EC");
		
		TableColumn tblclmnNewColumn_3 = new TableColumn(table, SWT.NONE);
		tblclmnNewColumn_3.setWidth(125);
		tblclmnNewColumn_3.setText("S\u1ED1 Ti\u1EC1n Thu Trong K\u00EC");
		
		TableColumn tblclmnNewColumn_4 = new TableColumn(table, SWT.NONE);
		tblclmnNewColumn_4.setWidth(113);
		tblclmnNewColumn_4.setText("S\u1ED1 D\u01B0 N\u1EE3 Cu\u1ED1i K\u00EC");
		
		Button btnNewButton = new Button(shlTngHpCng, SWT.NONE);
		btnNewButton.setBounds(307, 22, 75, 25);
		btnNewButton.setText("X\u00E1c Nh\u1EADn");

	}

}
